package com.ruoyi.mine.service;

import com.ruoyi.mine.dto.MineFileInfoUpdateDTO;
import com.ruoyi.mine.dto.MineFileUploadDTO;
import com.ruoyi.mine.pojo.Mine;
import com.ruoyi.mine.pojo.MineFile;

import java.io.IOException;
import java.util.List;

public interface MineFileService {
    void upload(MineFileUploadDTO mineFileUploadDTO) throws IOException;

    void delete(Integer id);

    void update(MineFileInfoUpdateDTO mineFile);

    List<MineFile> search(String mineId, String fileType, String fileName);

    Mine getMine(String mineId);
}
